]> dgit.raspbian.org Git - gnome-shell.git/commit
screenshot-ui: Use ImageContent for notification icon
authorIvan Molodetskikh <yalterz@gmail.com>
Fri, 26 Nov 2021 17:06:36 +0000 (20:06 +0300)
committerMarge Bot <marge-bot@gnome.org>
Thu, 27 Jan 2022 22:25:42 +0000 (22:25 +0000)
commit27bcf0da484cc1274eda0c2ed133b883e8cfe76e
tree1d0683b6762887e3e9692fbb462f97b6c228b409
parent4442ced76032e09cea2fa14c7dfa6e056fa8e3d0
screenshot-ui: Use ImageContent for notification icon

StImageContent specifically, when used as a notification icon, preserves
the screenshot aspect ratio and avoids ugly scaling.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>
js/ui/screenshot.js
src/shell-screenshot.c
src/shell-screenshot.h